Page({
  data: {
    searchInfo: [
      { id: 1, title: '课表', ico: 'notes-o', src: '/base/pages/courses/courses'},
      { id: 2, title: '成绩', ico: 'bar-chart-o', src: '/pages/404/404'},
      { id: 3, title: '图书索引', ico: 'search', src: '/robust/pages/search/search?type=books'},
      { id: 4, title: '教室', ico: 'coupon-o', src: '/robust/pages/search/search?type=classrooms'},
      { id: 5, title: '设备管理', ico: 'cluster-o', src: '/robust/pages/device/device'},
    ],

    materialsInfo: [
      { id: 1, title: '待办', ico: 'description-o', src: '/robust/pages/information/information'},
      { id: 2, title: '二手资料', ico: 'apps-o', src: '/robust/pages/information/information'},
      { id: 3, title: '考试', ico: 'send-gift-o', src: '/pages/404/404'},
      { id: 4, title: '放假安排', ico: 'comment-o', src: '/fast/pages/canlendar/canlendar?type=holiday'},
    ],

    dailyInfo: [
      { id: 1, title: '电脑维修', ico: 'setting-o', src: '/robust/pages/daily/daily'},
      { id: 2, title: '竞赛', ico: 'filter-o', src: '/robust/pages/daily/daily'},
      { id: 3, title: '查寝报道', ico: 'completed-o', src: '/robust/pages/daily/daily'},
      { id: 4, title: '预约', ico: 'envelop-o', src: '/robust/pages/daily/daily'},
    ],

    aboutInfo: [
      { id: 4, title: '反馈', ico: 'edit' },
      { id: 5, title: '加入我们', ico: 'friends-o' },
    ]

  },
  onLoad(options) {

  },

  gotoNavigate(e) {
    const path = e.currentTarget.dataset.path; 
    if (path) {
      wx.navigateTo({
        url: path
      });
    }
  },

  onReady() {},
  onShow() {},
  onHide() {},
  onUnload() {},
  onPullDownRefresh() {},
  onReachBottom() {},
  onShareAppMessage() {}
})